<?php
namespace app\admin\controller;

class Index extends \think\Controller
{
    public function index()
    {
        return view();
    }











    public function login(){

    	if( $this->request->isAjax() ){
    		echo '{
  "code": 0
  ,"msg": "登入成功"
  ,"data": {
    "access_token": "c262e61cd13ad99fc650e6908c7e5e65b63d2f32185ecfed6b801ee3fbdd5c0a"
  }
}';
    	}else{
    		return view();
    	}

    	
    }
}
